﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace LynxWebLog
{
    [DataContract(Namespace = "http://schemas.datacontract.org/2004/07/LynxBlogAPI.Models")]
    public class PostCategory
    {
        [DataMember]
        public int postcategoryid { get; set; }
        [DataMember]
        public int postid { get; set; }
        [DataMember]
        public int category { get; set; }

        public PostCategory() { }

        public PostCategory(int pcid, int catid, int postid)
        {
            this.postcategoryid = pcid;
            this.postid = postid;
            this.category = catid;
        }
    }
}